package priv.xml;

import org.springframework.beans.factory.annotation.Autowired;
public class ZongJingLi {
	private String name;
	private String sex;
	private Integer age;
	@Autowired
	private SiJi siJi;
	@Autowired
	private MiShu miShu;
	public ZongJingLi(String name,String sex,Integer age) {
		this.name=name;
		this.age=age;
		this.sex=sex;
	}
	public ZongJingLi() {
		
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	
	public SiJi getSiJi() {
		return siJi;
	}
	public void setSiJi(SiJi siJi) {
		this.siJi = siJi;
	}
	
	public MiShu getMiShu() {
		return miShu;
	}
	public void setMiShu(MiShu miShu) {
		this.miShu = miShu;
	}
	@Override
	public String toString() {
		return "ZongJingLi [name=" + name + ", sex=" + sex + ", age=" + age + ", siJi=" + siJi + ", miShu=" + miShu
				+ "]";
	}
	
}
